/*
 * OpenFile.cc
 *
 *  Created on: 11 mrt. 2011
 *      Author: vincentvanandel, Jonathan Eenkhoorn, Sander Schulenburg
 */

#include "OpenFile.h"

//Inode*		OpenFile::getIp()
//{
//	return ip*;
//}

int			OpenFile::getUsecount()
{
	return usecount;
}

long			OpenFile::getIopos()
{
	return iopos;
}

void			OpenFile::setIopos(long i)
{
	iopos = i;
}

FILE *			OpenFile::get()
{
	usecount++;
	return fp;
}

void			OpenFile::set(FILE * param)
{
	fp = param;
}
